<form id="pagerForm" action="__URL__" method="post">
    <input type="hidden" name="pageNum" value="1"/>
    <input type="hidden" name="subject" value="{$_REQUEST.subject}"/>
</form>

<div class="page">
    <div class="pageContent">
        <div class="panelBar">
            <ul class="toolBar">
                <li><a class="add" href="__URL__/sendmsg" target="dialog"><span>{$Think.lang._MSG_SEND_}</span></a></li>
                <li><a class="delete" href="__URL__/foreverdelete/id/{sid_msg}/navTabId/__MODULE__" target="dialogTodo" title="{$Think.lang._COMMON_SUREDELETE_}" warn="{$Think.lang._COMMON_PLEASESELECT_}"><span>{$Think.lang._COMMON_DELETE_}</span></a></li>
            </ul>
        </div>

        <table class="list" width="100%" layoutH="116">
            <thead>
                <tr>
                    <th width="200">{$Think.lang._MSG_SUBJECT_}</th>
                    <th width="100">{$Think.lang._MSG_FROMUSER_}</th>
                    <th width="100">{$Think.lang._MSG_ISREAD_}</th>
                    <th width="100">{$Think.lang._MSG_SENDTIME_}</th>
                </tr>
            </thead>
            <tbody>
            <volist id="vo" name="list">
                <tr target="sid_msg" rel="{$vo['id']}">
                    <td><a href="__URL__/showMsg/id/{$vo['id']}" target="dialog" title="{$vo['subject']}-{$Think.lang._COMMON_MSG_}">{$vo['subject']}</a></td>
                    <td>{$vo['fromId']|getUsername}</td>
                    <td>{$vo['isRead']|getMsgIsRead}</td>                    
                    <td>{$vo['cTime']|date="Y-m-d H:i:s",###}</td>
                </tr>
            </volist>
            </tbody>
        </table>

        <div class="panelBar">
            <div class="pages">
                <span>{$Think.lang._COMMON_ALL_}{$totalCount}{$Think.lang._COMMON_COUNT_}</span>
            </div>
            <div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
        </div>

    </div>

</div>